package com.sys.goods.pojo;

/**
 * 一个POJO对应一个枚举
 * 
 * 枚举三要素: 键:(name)和值(status), 变量名:STATUS_DISABLED
 * 
 * @author 陈岩
 */
public enum ACommentEnum
{
	/*
	 * 枚举必须从已知的选项卡拿一个出来 红绿灯: 多项枚举:类似于Map;
	 */
	/*
	 * 定义枚举项
	 */
	STATUS_DISABLED("禁用", Byte.valueOf("0")), 
	STATUS_ENABLE("启用", Byte.valueOf("1")),
	
	;

	private String name;
	private byte status;

	private ACommentEnum(String name, byte status)
	{
		this.name = name;
		this.status = status;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

}
